style.scss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. .crew-detail {
  2. &__header {
  3. display: flex;
  4. align-items: flex-start;
  5. justify-content: space-between;
  6. gap: 16px;
  7. margin-bottom: 14px;
  8. @media (max-width: 768px) {
  9. flex-direction: column;
  10. gap: 12px;
  11. }
  12. }
  13. &__info {
  14. flex: 1;
  15. min-width: 0;
  16. }
  17. &__title {
  18. font-size: 1.5rem;
  19. font-weight: 700;
  20. margin: 0;
  21. line-height: 1.3;
  22. }
  23. &__desc {
  24. color: var(--muted-foreground);
  25. font-size: 0.875rem;
  26. margin-top: 4px;
  27. }
  28. &__actions {
  29. display: flex;
  30. gap: 8px;
  31. flex-shrink: 0;
  32. align-items: center;
  33. }
  34. }
  35. .crew-tabs {
  36. display: flex;
  37. gap: 0;
  38. border-bottom: 1px solid var(--border);
  39. margin-bottom: 24px;
  40. @media (max-width: 768px) {
  41. overflow-x: auto;
  42. -webkit-overflow-scrolling: touch;
  43. &::-webkit-scrollbar {
  44. display: none;
  45. }
  46. }
  47. &__item {
  48. padding: 14px 24px;
  49. border: none;
  50. background: none;
  51. cursor: pointer;
  52. font-size: 0.875rem;
  53. font-weight: 500;
  54. color: var(--muted-foreground);
  55. border-bottom: 3px solid transparent;
  56. margin-bottom: -1px;
  57. transition: color 0.15s;
  58. white-space: nowrap;
  59. letter-spacing: 0.01em;
  60. &:first-of-type {
  61. padding-left: 0;
  62. }
  63. &:hover {
  64. color: var(--foreground);
  65. }
  66. &--active {
  67. color: var(--foreground);
  68. font-weight: 600;
  69. border-bottom-color: hsl(var(--foreground));
  70. }
  71. }
  72. &__content {
  73. min-height: 200px;
  74. }
  75. }
  76. .crew-members {
  77. &__toolbar {
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. margin-bottom: 0;
  82. @media (max-width: 768px) {
  83. align-items: flex-start;
  84. gap: 8px;
  85. }
  86. }
  87. &__subtitle {
  88. font-size: 1rem;
  89. font-weight: 600;
  90. margin: 0;
  91. }
  92. &__actions {
  93. display: flex;
  94. gap: 8px;
  95. }
  96. .studio-page__table-wrap {
  97. @media (max-width: 768px) {
  98. overflow-x: auto;
  99. }
  100. }
  101. .studio-page__table {
  102. @media (max-width: 768px) {
  103. min-width: 640px;
  104. }
  105. }
  106. }
  107. .crew-invite {
  108. margin-bottom: 24px;
  109. padding: 16px;
  110. border: 1px solid hsl(var(--border));
  111. border-radius: 8px;
  112. @media (min-width: 1024px) {
  113. max-width: 420px;
  114. }
  115. &__legend {
  116. font-size: 0.875rem;
  117. font-weight: 600;
  118. padding: 0 6px;
  119. }
  120. &__body {
  121. display: flex;
  122. gap: 8px;
  123. align-items: center;
  124. @media (max-width: 768px) {
  125. flex-direction: column;
  126. }
  127. }
  128. &__input {
  129. flex: 1;
  130. font-family: monospace;
  131. font-size: 1rem;
  132. font-weight: 600;
  133. letter-spacing: -1px;
  134. @media (max-width: 768px) {
  135. width: 100%;
  136. }
  137. }
  138. &__actions {
  139. display: flex;
  140. gap: 8px;
  141. flex-shrink: 0;
  142. @media (max-width: 768px) {
  143. width: 100%;
  144. > button {
  145. flex: 1;
  146. }
  147. }
  148. }
  149. }
  150. .member-search {
  151. position: relative;
  152. &__input {
  153. width: 100%;
  154. padding: 8px 12px;
  155. border: 1px solid var(--border-default);
  156. border-radius: 6px;
  157. font-size: 0.875rem;
  158. background: var(--background);
  159. color: var(--foreground);
  160. }
  161. &__results {
  162. position: absolute;
  163. top: 100%;
  164. left: 0;
  165. right: 0;
  166. z-index: 10;
  167. background: var(--background);
  168. border: 1px solid var(--border);
  169. border-radius: 6px;
  170. max-height: 240px;
  171. overflow-y: auto;
  172. margin-top: 4px;
  173. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  174. }
  175. &__item {
  176. display: flex;
  177. align-items: center;
  178. gap: 10px;
  179. padding: 8px 12px;
  180. cursor: pointer;
  181. border: none;
  182. background: none;
  183. width: 100%;
  184. text-align: left;
  185. font: inherit;
  186. color: var(--foreground);
  187. &:hover {
  188. background: var(--accent);
  189. }
  190. }
  191. &__thumb {
  192. width: 32px;
  193. height: 32px;
  194. border-radius: 50%;
  195. background: var(--muted);
  196. object-fit: cover;
  197. }
  198. &__info {
  199. flex: 1;
  200. min-width: 0;
  201. }
  202. &__name {
  203. font-weight: 500;
  204. font-size: 0.875rem;
  205. }
  206. &__email {
  207. font-size: 0.75rem;
  208. color: var(--muted-foreground);
  209. overflow: hidden;
  210. text-overflow: ellipsis;
  211. white-space: nowrap;
  212. }
  213. &__channel {
  214. font-size: 0.75rem;
  215. color: var(--primary);
  216. }
  217. }
  218. // ── 위젯 설정 탭 ──────────────────────────────────
  219. .crew-widget {
  220. .studio-page__table-wrap {
  221. @media (max-width: 768px) {
  222. overflow-x: auto;
  223. }
  224. }
  225. .studio-page__table {
  226. @media (max-width: 768px) {
  227. min-width: 640px;
  228. }
  229. }
  230. }
  231. // ── 세션 탭 ────────────────────────────────────
  232. .session-active {
  233. margin-bottom: 32px;
  234. &__card {
  235. border: 1px solid var(--border);
  236. border-radius: 8px;
  237. padding: 20px;
  238. background: var(--card);
  239. @media (max-width: 768px) {
  240. padding: 14px;
  241. }
  242. }
  243. &__top {
  244. display: flex;
  245. justify-content: space-between;
  246. align-items: center;
  247. margin-bottom: 16px;
  248. @media (max-width: 768px) {
  249. flex-direction: column;
  250. align-items: flex-start;
  251. gap: 10px;
  252. }
  253. }
  254. &__info {
  255. display: flex;
  256. align-items: center;
  257. gap: 12px;
  258. @media (max-width: 768px) {
  259. flex-wrap: wrap;
  260. }
  261. }
  262. &__session-title {
  263. font-size: 1.1rem;
  264. font-weight: 600;
  265. }
  266. &__stats {
  267. display: flex;
  268. gap: 24px;
  269. margin-bottom: 20px;
  270. padding: 12px 16px;
  271. background: var(--accent);
  272. border-radius: 6px;
  273. @media (max-width: 768px) {
  274. flex-direction: column;
  275. gap: 12px;
  276. }
  277. }
  278. &__stat {
  279. text-align: center;
  280. @media (max-width: 768px) {
  281. display: flex;
  282. align-items: center;
  283. justify-content: space-between;
  284. text-align: left;
  285. }
  286. &-value {
  287. font-size: 1.5rem;
  288. font-weight: 700;
  289. color: var(--primary);
  290. @media (max-width: 768px) {
  291. font-size: 1.25rem;
  292. }
  293. }
  294. &-label {
  295. font-size: 0.75rem;
  296. color: var(--muted-foreground);
  297. margin-top: 2px;
  298. @media (max-width: 768px) {
  299. margin-top: 0;
  300. }
  301. }
  302. }
  303. .studio-page__table-wrap {
  304. @media (max-width: 768px) {
  305. overflow-x: auto;
  306. }
  307. }
  308. .studio-page__table {
  309. @media (max-width: 768px) {
  310. min-width: 480px;
  311. }
  312. }
  313. }
  314. .session-consents {
  315. margin-bottom: 16px;
  316. &__title {
  317. font-size: 0.875rem;
  318. font-weight: 600;
  319. margin-bottom: 8px;
  320. }
  321. &__list {
  322. display: flex;
  323. flex-wrap: wrap;
  324. gap: 8px;
  325. @media (max-width: 768px) {
  326. gap: 6px;
  327. }
  328. }
  329. &__item {
  330. display: flex;
  331. align-items: center;
  332. gap: 6px;
  333. padding: 6px 12px;
  334. border-radius: 20px;
  335. font-size: 0.875rem;
  336. border: 1px solid var(--border);
  337. &--consented {
  338. background: hsl(var(--primary) / 0.1);
  339. border-color: hsl(var(--primary) / 0.3);
  340. }
  341. &--pending {
  342. background: var(--accent);
  343. }
  344. }
  345. &__icon {
  346. font-size: 0.875rem;
  347. }
  348. }
  349. .session-start {
  350. border: 2px dashed var(--border);
  351. border-radius: 8px;
  352. padding: 32px;
  353. text-align: center;
  354. margin-bottom: 0;
  355. @media (max-width: 768px) {
  356. padding: 20px;
  357. }
  358. &__title {
  359. font-size: 1.1rem;
  360. font-weight: 600;
  361. margin-bottom: 16px;
  362. }
  363. &__form {
  364. display: flex;
  365. gap: 12px;
  366. justify-content: center;
  367. align-items: center;
  368. max-width: 480px;
  369. margin: 0 auto;
  370. @media (max-width: 768px) {
  371. flex-direction: column;
  372. }
  373. }
  374. &__input {
  375. flex: 1;
  376. padding: 8px 12px;
  377. font-size: 0.875rem;
  378. @media (max-width: 768px) {
  379. width: 100%;
  380. }
  381. }
  382. }
  383. .session-history {
  384. &__title {
  385. font-size: 1rem;
  386. font-weight: 600;
  387. margin-bottom: 16px;
  388. }
  389. .studio-page__table-wrap {
  390. @media (max-width: 768px) {
  391. overflow-x: auto;
  392. }
  393. }
  394. .studio-page__table {
  395. @media (max-width: 768px) {
  396. min-width: 580px;
  397. }
  398. }
  399. }
  400. // ── 멤버 아바타 ─────────────────────────────────
  401. .member-row {
  402. &__thumb {
  403. width: 28px;
  404. height: 28px;
  405. border-radius: 50%;
  406. background: var(--muted);
  407. object-fit: cover;
  408. vertical-align: middle;
  409. margin-right: 8px;
  410. }
  411. }